<div class="left-nav">
    <div id="side-nav">
        <ul id="nav">
            @foreach($cate as $v)
            <li>
                <a href="javascript:;">
                    <i class="iconfont left-nav-li" lay-tips="{{$v->name}}">{{$v->icon1}}</i>
                    <cite>{{$v->name}}</cite>
                    <i class="iconfont nav_right">{{$v->icon2}}</i></a>
                <ul class="sub-menu">
                    @foreach($v->child as $k)
                    <li>
                        <a onclick="xadmin.add_tab('{{$k['name']}}','{{$k['url']}}')">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>{{$k['name']}}</cite></a>
                    </li>
                    @endforeach
                </ul>
            </li>
            @endforeach
        </ul>
    </div>
</div>
